import request from '@/utils/request'

export async function getList(url, data) {
  return request({
    url: url,
    method: 'post',
    data: data,
  })
}
export async function download(url, data) {
  return request({
    url: url,
    method: 'post',
    data: data,
    responseType: 'blob',
  })
}
export async function apimRequest(url, data, headers) {
  return request({
    url: url,
    method: 'post',
    data: data,
    headers: headers,
  })
}
